//
//  MPTVBCoreVideoTexture.h
//  MiaoPai
//
//  Created by Makarov on 2017/3/3.
//  Copyright © 2017年 Jeakin. All rights reserved.
//

#import <AVFoundation/AVFoundation.h>
#import <CoreVideo/CoreVideo.h>


@interface MPTVBCoreVideoTexture : NSObject

@property (nonatomic, readonly) GLuint textureId;
@property (nonatomic, readonly) CGSize bufferSize;
@property (nonatomic, readonly) EAGLContext *context;

- (void)copyto:(void *)dst size:(size_t)size;

- (id)initWithSize:(CGSize)size;

@end
